import request from '@/utils/request'
import menus from '@/router/modules/menu'

export function productCategoryList(query) {
    return request({
        url: '/productCategory/list',
        method: 'get',
        params: query
    })
}

export function productCategoryCreate(data) {
    return request({
        url: '/productCategory/create',
        method: 'post',
        data
    })
}

export function productCategoryUpdate(data) {
    return request({
        url: '/productCategory/update',
        method: 'post',
        data
    })
}

export function productCategoryDelete(data) {
    return request({
        url: '/productCategory/delete',
        method: 'post',
        data
    })
}

export function productCategoryTree(data) {
  return request({
    url: '/productCategory/tree',
    method: 'post',
    data
  })
}




